package com.sg.vo;

/**
 * @author zl
 * 购物车VO
 */

public class ShopVO {

    /**
     * 购物车编号
     */
    private int shopId;

    /**
     * 商品编号
     */
    private int comId;

    /**
     * 用户编号
     */
    private int uId;

    /**
     * 商品数量
     */
    private int coNumber;

    /**
     * 总价
     */
    private int coPrinces;

    /**
     * 商家编号
     */
    private int businessId;

    /**
     *商品名称
     */
    private String comName;

    /**
     * 用户名称
     */
    private String uName;

    /**
     * 商家电话
     */
    private String businessTel;

    /**
     * 商家名称
     */
    private  String businessName;

    /**
     *商品照片
     */
    private String comImg;

    /**
     * 购物车总价
     */
    private int prices;

    public ShopVO() {
    }

    @Override
    public String toString() {
        return "ShopVO{" +
                "shopId=" + shopId +
                ", comId=" + comId +
                ", uId=" + uId +
                ", coNumber=" + coNumber +
                ", coPrinces=" + coPrinces +
                ", businessId=" + businessId +
                ", comName='" + comName + '\'' +
                ", uName='" + uName + '\'' +
                ", businessTel='" + businessTel + '\'' +
                ", businessName='" + businessName + '\'' +
                ", comImg='" + comImg + '\'' +
                ", prices=" + prices +
                '}';
    }

    public ShopVO(int shopId, int comId, int uId, int coNumber, int coPrinces, int businessId, String comName, String uName, String businessTel, String businessName, String comImg, int prices) {
        this.shopId = shopId;
        this.comId = comId;
        this.uId = uId;
        this.coNumber = coNumber;
        this.coPrinces = coPrinces;
        this.businessId = businessId;
        this.comName = comName;
        this.uName = uName;
        this.businessTel = businessTel;
        this.businessName = businessName;
        this.comImg = comImg;
        this.prices = prices;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getComId() {
        return comId;
    }

    public void setComId(int comId) {
        this.comId = comId;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public int getCoNumber() {
        return coNumber;
    }

    public void setCoNumber(int coNumber) {
        this.coNumber = coNumber;
    }

    public int getCoPrinces() {
        return coPrinces;
    }

    public void setCoPrinces(int coPrinces) {
        this.coPrinces = coPrinces;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getBusinessTel() {
        return businessTel;
    }

    public void setBusinessTel(String businessTel) {
        this.businessTel = businessTel;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getComImg() {
        return comImg;
    }

    public void setComImg(String comImg) {
        this.comImg = comImg;
    }

    public int getPrices() {
        return prices;
    }

    public void setPrices(int prices) {
        this.prices = prices;
    }
}
